package cn.yzfy.common.model.entity;

import cn.yzfy.common.base.entity.AbstractBaseEntity;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;

import java.io.Serial;

/**
 * @author 一朝风月
 * @date 2025/9/11 17:55
 * @Code 面向注解面向卿，终无解释再无你
 * @description 字典数据表
 */

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = false)
@TableName("sys_dict_data")
public class DictDataEntity extends AbstractBaseEntity {

    @Serial
    private static final long serialVersionUID = -4780808450417772940L;

    /**
     * 字典数据类型id
     */
    private Long dictTypeId;

    /**
     * 名称
     */
    private String name;

    /**
     * 编码
     */
    private String code;

    /**
     * 排序值
     */
    private Integer sort;

    /**
     * 启用状态
     */
    private Boolean enable;

    /**
     * 备注
     */
    private String remark;
}
